Despite resistance, pension bill OK'd