Plans to convert unused garages into flats and retail units in Redcar town centre have been signed off.