Edinburgh councillors have rejected plans to cut crossing guard posts at 17 city sites, despite some not having had a crossing patrol in over 20 years.