Caroline Cochrane threw the drugs away in front of officers when she was being detained on the street