John Holland and a contractor have entered into an enforceable undertaking with the NSW Environment Protection Authority over asbestos contamination.