CATCH: A Mechanism for Dynamically Detecting Cache-Content-Duplication and its Application to Instruction Caches