ResultSet: simplify _merge_joinpref_attr improving readability