Fix behavior of remove_duplicates when the value of an argument is empty
Merge branch 'feature/issue-202' of github.com:stan-dev/stan into feature/issue-202