Coding the consequences of #987:derivative functions cannot introduce sparsity

Conflicts:
	symbolic/fx/fx_internal.cpp
	symbolic/matrix/sparsity_internal.cpp