Fix desugaring of patterns in module instances.