You won't lose fat by building muscle, the effect of a recompositioned body with more muscle but the same weight is insignificant as far as BMR goes.
I have never understood this claim:
Fat loss=hypocaloric diet
Muscle gain=hypercaloric diet
They are completely antithetical metabolic processes; muscle gain requires more than you burn and fat loss less.
Makes no sense to claim you can do both.