On cyclic reduction applied to a class of Toeplitz-like matrices arising in queueing problems