A court in the Maldives ordered the arrest and detention on Monday of the former president, Abdulla Yameen, on suspicion of money laundering.