An Imitation Learning Approach for Cache Replacement