The evolution of aggregation in profitable and unprofitable prey