ir: Add copyExpSmart function.
semantic: Handle default arguments in @interfaces.