A waste removal contractor from Bridgend has been sentenced after undertaking asbestos removal work at two locations without being licensed to do so.