On the Triggering of M-Class Solar Flare due to Loop-loop Interaction in AR NOAA 10875