Words of Engel type are concise in residually finite groups