Shiite Maliki thwart a bid for prime minister in Iraq