Replace curried terms with terms in curryfied form