In general, no. If f has, for example, a singularity at x= b, where a< b< c, then \int_a^c f(x)dx= \lim_{\alpha\to b}\int_a^\alpha f(x)dx+ \lim_{\beta\to b}\int_\beta^c f(x)dx.
Those two limits have to be taken independently so you cannot cancel them.
I'm reviewing Meirovitch's "Methods of Analytical Dynamics," and I don't understand the commutation of the derivative from r to dr:
$$
\mathbf{F} \cdot d\mathbf{r} = m \ddot{\mathbf{r}} \cdot d\mathbf{r} = m\mathbf{\dot{r}} \cdot d\mathbf{\dot{r}}
$$