A matrix-analytic approach to fluid queues with feedback control