General practices saw their funding for enhanced services squeezed last year, finds BMJ investigation