scop.c: extract out shared drop_arguments