Minimal subtraction and the decoupling of heavy quarks for arbitrary values of the gauge parameter