The assistant secretary of the CFMEU’s New South Wales branch, Michael Greenfield has resigned as corruption allegations continue to swirl around the union.