Iraqi parliament votes to allow candidature for president