Optimal Decoupling in Linear Constraint Systems