Firefighters have agreed to ballot for strike action over the sacking of a colleague who management decided was overweight and not fit for duty.