Strip remainder of require line to avoid comments

If you don't match the remainder of the line it only transforms the
section that matches, so;

cider.el:
(require 'cider-foo) ;comment

Becomes the following line in .depends
cider.el: cider-foo.elc ; comment

When we want it to be
cider.el: cider-foo.elc