The battle is a failure. Fatigue triggers at the start of the Round, and affects all units at once. Therefore, if fatigue causes remaining Gearlocs to lose the last of their HP, they are defeated. There must be a Gearloc remaining after all Baddies are defeated for success.