fix: crm_resource: inherit resource attributes
When applying maintenance to a group of primitives, it applies it to the
first primitive in the group, but leaves the group maintenance property and
all other primitives unchanged.
This patch makes all primitives in the group inherit the maintenance property.