Sydney contractor paid for 'ghost' CFMEU memberships, royal commission told