School rebuked for ibuprofen strip search