Remove useless cast of tuples into tuples