chisel: Fix some method-cache bugs.
* Pass old instruction to fetch stage while writing to the cache memory.
* Simplify and fix replacement computations.
* Fix size handling for large methods.