Vote comes after PM Abdul Mahdi recommended parliament take urgent measures to expel foreign troops from Iraq.