I'll throw the idea out there... Is law still your dream?
It's ok if it isn't. I believe often we have to experience something first to get some idea of what we want.
There are two things that I would suggest from my own experience feeling a bit lost about and unsure of my degree...
1. Research the units for the entire course. This can give you an idea of whether future units feel equally as boring to you. Also consider the first year of any degree is the foundation. Sometimes this means accepting you need to learn the essential basics even if they feel tedious and boring in order to understand future units.
2. Visit a career counselor at your university. They will have had this same discussion many times before and can be very helpful.
As to withdrawing from friends what do you think is making you want to be alone? Are your friends helpful to study with or distracting? If you asked for help with study would they support you in this?
This probably isn't very helpful but I wanted you to know you are heard.