Eliminate array accesses from key schedule