Egypt finalises $8 billion deal with IMF after currency hits record low