Deal will see PM step down in 18 months