Two-way pebble transducers for partial functions and their composition