r = sym(p) \ sym(q)
would do the trick. The result would be a symbolic function, of course. To convert that to inline, s = inline(r)
.
Edit:
As for the "WHY": you cannot divide two inline functions. Instead, they must first be converted to their symbolic representation.