Refinements to patching and applications to field invariants