Revert "_.flatten shallow flag now works as expected (instead of doing nothing when set to true)"

This reverts commit f1c15f186919e8d10612bfd9fe24aa485b2310bb.