Removes unnecessary modules from requirements.txt