Court resolves family dispute over funeral arrangements