Modified _.prune() to remove properties with empty object values.