Commuting multiparty quantum observables and local compatibility