Alabama has used nitrogen gas to execute a man convicted of killing three people in back-to-back workplace shootings, the second time the method has been used.