A top Romanian court has asked the official electoral authority to recount and verify all of the ballots cast in the first round of the presidential election.