Correct the declaration emit for overload implementation if there is single overload signature

Fixes  #480