A knife attack in Suriname killed nine people, with the suspect being injured by officers during his arrest.