Euler–Mahonian statistics and descent bases for semigroup algebras. (March 2018)