Waltham solar farm approved after scaling back size