Memoryless Solution to the Optimal Control Problem for Linear Systems with Delayed Input