When Im doing a copper installation on a home I use type L , I started using type L exclusively 20 years ago . Type M is legal and used quite a bit but its a common upgrade to use L .
I wouldnt think twice abou putting a small piece of type m in an open area, there is absoulutely no reason to worry about a few inches or one piece being M being in your home. Or even your water hater connection. those copper water flexes people use arent equal type L
If I was doing more work adding a bathroom , or opening walls up to remodel bathrooms etc. I would do that all with Type L also no matter how good everything worked a half inch line is undersize , Grossly undersized, It will work and work fine but there are reasons not to undersize.